package com.jumper.property.comparer.core.support;


import com.jumper.property.comparer.core.enums.LogTable;
import com.jumper.property.comparer.core.support.param.LogPageParam;
import com.jumper.property.comparer.core.support.result.LogEntity;
import com.jumper.property.comparer.core.support.result.LogEntityPage;

import java.util.List;

public interface LogRepository {

    /**
     * 保存操作日志
     */
    void save(LogTable busType, List<LogEntity> optLogs);

    /**
     * 获取日志分页
     */
    LogEntityPage getLogsPage(LogTable busType, LogPageParam pageParam);
}
